package com.dsj.gxrd.modules.activity.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author songpin566
 * @date 2023/10/10
 **/
@Data
@ApiModel("结对联系")
@TableName("rd_pairing")
public class RdPairing {

    @ApiModelProperty("id")
    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty("id")
    private Long userId;

    @ApiModelProperty("peopleName")
    private String peopleName;

    @TableField(exist = false)
    private String dictLabel;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String nowDuty;

    @TableLogic
    private Integer delFlag;

}
